package com.aijk.ehm.api;

import com.aijk.commons.exception.ErrorCodeException;
import com.aijk.ehm.model.EhmInfoScan;
import com.aijk.ehm.model.qo.EhmInfoScanQo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface EhmInfoScanApi {
    Long save(EhmInfoScan bean) throws ErrorCodeException;

    void update(EhmInfoScan bean) throws ErrorCodeException;

    EhmInfoScan findOne(Long id) throws ErrorCodeException;

    List<EhmInfoScan> list(EhmInfoScanQo qo);

    void deleteById(Long id) throws ErrorCodeException;

    int count(EhmInfoScanQo qo);

    PageInfo<EhmInfoScan> page(EhmInfoScanQo qo);
}